package com.zsrt.day20170401;

/**
 * 求两个数的平均值
 * @param args
 */
public class Average {

	
	public static void main(String[] args) {
		double firstAve = 81.95;
		double secondAve;
		int rise = 2;
		secondAve = firstAve + rise;
		double aveTotal = (firstAve + secondAve) / 2;
		System.out.println(aveTotal);

	}
}
